QT       += core gui opengl openglwidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = opengl
TEMPLATE = app


SOURCES +=camera.cpp \
    gpuhelper.cpp \
    icosphere.cpp \
    quaternion_demo.cpp \
    trackball.cpp


HEADERS  += quaternion_demo.h \
    camera.h \
    gpuhelper.h \
    icosphere.h \
    trackball.h

INCLUDEPATH += $$PWD/../../lib

LIBS += -lopengl32 -lglu32

win32 {
    CONFIG(debug, release|debug):DESTDIR = ../debug/
    CONFIG(release, release|debug):DESTDIR = ../release/
} else {
    DESTDIR = ../release/
}
